/**
 * 
 */
package com.beta.common.model;

/**
 * @author vector
 *
 */
public class ErrorResponse {

	private String code;

	private String error;
	
	public ErrorResponse(String error) {
		this("500", error);
	}
	
	public ErrorResponse(String code, String error) {
		this.code = code;
		this.error = error;
	}
	
	public String getCode() {
		return this.code;
	}

	public String getError() {
		return error;
	}
	
}
